package com.example.smartstart.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.*;

@AllArgsConstructor
@NoArgsConstructor
@Getter
@Setter
@ToString
@EqualsAndHashCode
@TableName("student")
public class Student {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String studentId;
    private String password;
    private String accountStatus;
    private String name;
    private String avatar;
    private String phone;
    @TableField(insertStrategy = FieldStrategy.NEVER,updateStrategy = FieldStrategy.NEVER,exist = false)
    private Integer offset;
    @TableField(insertStrategy = FieldStrategy.NEVER,updateStrategy = FieldStrategy.NEVER,exist = false)
    private Integer pageSize;
}
